
<div class="top-content" style="position:absolute;width:100%;height:100%;
    background-image: url(http://10.222.29.181:8088/O2OFileServer/read/background/KFC.jpg);background-size:100% 100%;">

        <div class="inner-bg">
            <div class="container">
                <div class="row">
                    <div class="col-sm-8 col-sm-offset-2 text">
                        <h1 style="text-align: center;color:white;"><strong>O2O[M]</strong> Login Form</h1>
                        <div class="description">

                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-6 col-sm-offset-3 form-box">
                        <div class="form-top">
                            <div class="form-top-left">
                                <h3>Login to our site</h3>
                                <p>Enter your username and password to log on:</p>
                            </div>
                            <div class="form-top-right">
                                <i class="fa fa-key"></i>
                            </div>
                        </div>
                        <div class="form-bottom">
                            <span style="color:red" class="error-span" id="errorSpan1" ng-show="msgNull">Message is null</span>
                            <span style="color:red" class="error-span" id="errorSpan2" ng-show="accountError">Account is no exit</span>
                            <span style="color:red" class="error-span" id="errorSpan3" ng-show="pwdError">Password is no right</span>
                            <form role="form"   class="login-form">
                                <div class="form-group">
                                    <label class="sr-only" for="form-username">Account</label>
                                    <input type="text" name="account"  placeholder="Account..." class="form-username form-control" id="form-username" ng-model="account">
                                </div>
                                <div class="form-group">
                                    <label class="sr-only" for="form-password">Password</label>
                                    <input type="password" name="pwd"  placeholder="Password..." class="form-password form-control" id="form-password" ng-model="pwd">
                                </div>
                                <div class="form-group row">
                                    <div class="col-md-6">
                                        <button type="submit" class="btn btn-success" ng-click="login()">Sign in</button>

                                    </div>
                                    <div class="col-md-6">
                                        <button type="button" class="btn btn-primary" ng-click="regist()">Sign up</button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>

